package com.jln.demo.api;

public class ApiConfig {
    public static final int PAGE_SIZE = 5;
    public static final String BASE_URl = "http://47.112.194.96:8080";

    //登录
    public static final String LOGIN = "/app/login";

    //注册
    public static final String REGISTER = "/app/register";
//    {
//        "userName": "wdm",
//            "password": "123456",
//            "nickName":"wangdingman",
//            "email":"123456@qq.com"
//    }

    //获取通知公告列表
    public static final String NOTICES = "/app/notices";

    //获取 问题 列表
    public static final String QUESTIONS = "/app/questions";

    //所有类型视频列表
    public static final String VIDEO_LIST_ALL = "/app/videolist";

    //各类型视频列表
    public static final String VIDEO_LIST_BY_CATEGORY = "/app/videolist/getListByCategoryId";

    //视频类型列表
    public static final String VIDEO_CATEGORY_LIST = "/app/videocategory/list";

    //资讯列表
    public static final String NEWS_LIST = "/app/news/api/list";

    //更新点赞,收藏,评论
    public static final String VIDEO_UPDATE_COUNT = "/app/videolist/updateCount";

    //我的收藏
    public static final String VIDEO_MYCOLLECT = "/app/videolist/mycollect";

}
